package pkg

import (
	"fmt"
	"github.com/Baidu-AIP/golang-sdk/aip/censor"
)

func Text(name string) {
	client := censor.NewClient("wX4Qw27AL37WFZymSYqMrGzQ", "3EJCi3VRaH5MWV0bcybBlSMQ6NLWHdO2")
	//如果是百度云ak sk,使用下面的客户端
	res := client.TextCensor(name)
	fmt.Println(res)
}
